And /^I mark myself as not safe for work$/ do
  check('profile[nsfw]')
end

And /^I mark myself as safe for work$/ do
  uncheck('profile[nsfw]')
end

And /^I mark myself as not searchable$/ do
  uncheck("profile[searchable]")
end

When(/^I delete a photo$/) do
  find('.photo.loaded .thumbnail', :match => :first).hover
  find('.delete', :match => :first).click
end
